home *** CD-ROM | disk | FTP | other *** search
- mcSoundVolume.Value = _root.hero_fall.getVolume();
- mcSoundVolume.OnValueChanged = function()
- {
- Helper.SoundVolume = this.Value;
- _root.set_sounds(this.Value / 100);
- _root.but_tog.start();
- };
- mcMusicButton.Value = Helper.MusicEnabled;
- mcMusicButton.OnValueChanged = function()
- {
- Helper.MusicEnabled = this.Value;
- if(Helper.MusicEnabled)
- {
- Helper.PlayMusic();
- }
- else
- {
- Helper.StopMusic();
- }
- };
-